import { importModulesFiles } from '@/common/index'
export default {
  install(Vue) {
    const modulesFiles = require.context('./modules/', true, /\.js$/)
    const api = importModulesFiles(modulesFiles)
    Vue.prototype.$api = api
  }
}
